package com.aviation.sell_ticket.service.impl;

import com.aviation.sell_ticket.mapper.RefundMapper;
import com.aviation.sell_ticket.pojo.Aviation_refund;
import com.aviation.sell_ticket.service.RefundService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class RefundServiceImpl implements RefundService {

    @Resource
    RefundMapper refundMapper;

    /**
     * 通过时间查询退票手续费
     * @param time 时间
     * @return Aviation_refund
     */
    @Override
    public Aviation_refund refundQuery(int time) {
        return refundMapper.refundQuery(time);
    }
}
